[INFO] cloning repository https://github.com/Feilkin/baebble
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Feilkin/baebble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeilkin%2Fbaebble", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeilkin%2Fbaebble'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 312240d625e76d2598c5c402a58fe697dbc5ae90
[INFO] testing Feilkin/baebble against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeilkin%2Fbaebble" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Feilkin/baebble on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Feilkin/baebble
[INFO] finished tweaking git repo https://github.com/Feilkin/baebble
[INFO] tweaked toml for git repo https://github.com/Feilkin/baebble written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/Feilkin/baebble already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b735a13e9710c1607bb1f38c4d0b7a554589f054922f877a61c2d6c53d5c34f5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b735a13e9710c1607bb1f38c4d0b7a554589f054922f877a61c2d6c53d5c34f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b735a13e9710c1607bb1f38c4d0b7a554589f054922f877a61c2d6c53d5c34f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b735a13e9710c1607bb1f38c4d0b7a554589f054922f877a61c2d6c53d5c34f5", kill_on_drop: false }`
[INFO] [stdout] b735a13e9710c1607bb1f38c4d0b7a554589f054922f877a61c2d6c53d5c34f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41bd8253f4ab3e0a1ebef8b2626ee4e319c731e8867ce21b64f59a8b9e6cabdd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "41bd8253f4ab3e0a1ebef8b2626ee4e319c731e8867ce21b64f59a8b9e6cabdd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling spin v0.5.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]    Compiling cc v1.0.38
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling futures v0.1.28
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling serde v1.0.97
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling rustc-demangle v0.1.15
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling utf8-ranges v1.0.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling adler32 v1.0.3
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling indexmap v1.0.2
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling encoding_rs v0.8.17
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling constant_time_eq v0.1.4
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling arrayref v0.3.5
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling chunked_transfer v0.3.1
[INFO] [stderr]    Compiling ascii v0.9.2
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling sha1 v0.2.0
[INFO] [stderr]    Compiling ascii v0.7.1
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling fluent-syntax v0.9.0
[INFO] [stderr]    Compiling fluent-locale v0.4.1
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling ascii v0.8.7
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling try_from v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.10
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling unicase v2.4.0
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.3.0
[INFO] [stderr]    Compiling block-buffer v0.3.3
[INFO] [stderr]    Compiling humantime v1.2.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling tokio-sync v0.1.6
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]    Compiling openssl-sys v0.9.48
[INFO] [stderr]    Compiling miniz_oxide_c_api v0.2.3
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling aho-corasick v0.7.4
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling tokio-executor v0.1.8
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling base64 v0.6.0
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling socket2 v0.3.11
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling hyper v0.12.33
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling generic-array v0.9.0
[INFO] [stderr]    Compiling tokio-timer v0.2.11
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling mime v0.3.13
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling openssl v0.10.24
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling regex v1.2.0
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling flate2 v1.0.9
[INFO] [stderr]    Compiling digest v0.7.6
[INFO] [stderr]    Compiling crypto-mac v0.5.2
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling backtrace v0.3.33
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling http v0.1.18
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling sha2 v0.7.1
[INFO] [stderr]    Compiling hmac v0.5.0
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling uuid v0.1.18
[INFO] [stderr]    Compiling uuid v0.4.0
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling intl_pluralrules v1.0.3
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling postgres-protocol v0.3.2
[INFO] [stderr]    Compiling url v0.2.38
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling mime_guess v2.0.0-alpha.6
[INFO] [stderr]    Compiling publicsuffix v1.5.2
[INFO] [stderr]    Compiling postgres-shared v0.4.2
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling ctrlc v3.1.3
[INFO] [stderr]    Compiling tiny_http v0.5.9
[INFO] [stderr]    Compiling tokio-threadpool v0.1.15
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling postgres v0.15.2
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling redis v0.11.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.97
[INFO] [stderr]    Compiling rental-impl v0.5.4
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling rental v0.5.4
[INFO] [stderr]    Compiling fluent-bundle v0.6.0
[INFO] [stderr]    Compiling fluent v0.6.0
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling chrono v0.4.7
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling toml v0.5.1
[INFO] [stderr]    Compiling tiny_http v0.6.2
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling reqwest v0.9.19
[INFO] [stderr]    Compiling telegram v0.1.0 (/opt/rustwide/workdir/src/telegram)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/telegram/src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/telegram/src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bot::Bot`
[INFO] [stdout]   --> src/telegram/src/dialog.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use bot::Bot;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/telegram/src/dialog.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Builder(Box<Fn(&Message, Arc<T>) -> String + Sync + Send>),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message, Arc<T>) -> String + Sync + Send`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/telegram/src/dialog.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 |     reply_callback: Option<Box<Fn(&Message, Arc<T>) -> Result<Reply, Reply> + Sync + Send>>,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Message, Arc<T>) -> Result<Reply, Reply> + Sync + Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/telegram/src/dialog.rs:173:19
[INFO] [stdout]     |
[INFO] [stdout] 173 |     callback: Box<Fn(&CallbackQuery) -> KeyboardReply + Sync + Send>,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CallbackQuery) -> KeyboardReply + Sync + Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/telegram/src/bot.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde`
[INFO] [stdout]   --> src/telegram/src/bot.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/telegram/src/bot.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/telegram/src/bot.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/telegram/src/bot.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub type DefaultHandler<T> = Fn(UpdateKind, &MethodSender, &Arc<T>) -> () + Send + Sync;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(UpdateKind, &MethodSender, &Arc<T>) -> () + Send + Sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Mutex`, `mpsc`
[INFO] [stdout]  --> src/telegram/src/worker.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{mpsc, Arc, Mutex};
[INFO] [stdout]   |                 ^^^^       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::value::Value`
[INFO] [stdout]   --> src/telegram/src/worker.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde_json::value::Value;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SendMessage`
[INFO] [stdout]   --> src/telegram/src/worker.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 | use methods::{Method, SendMessage};
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]    --> src/telegram/src/worker.rs:147:29
[INFO] [stdout]     |
[INFO] [stdout] 147 |                         let resp = sender.send(&reply).unwrap();
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]    --> src/telegram/src/worker.rs:169:29
[INFO] [stdout]     |
[INFO] [stdout] 169 |                         let resp = sender.send(&reply).unwrap();
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update_id`
[INFO] [stdout]    --> src/telegram/src/worker.rs:207:55
[INFO] [stdout]     |
[INFO] [stdout] 207 | ...                   UpdateKind::Message { update_id, ref message } => {
[INFO] [stdout]     |                                             ^^^^^^^^^ help: try ignoring the field: `update_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]    --> src/telegram/src/dialog.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 |     id: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `callback`
[INFO] [stdout]    --> src/telegram/src/dialog.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     callback: Box<Fn(&CallbackQuery) -> KeyboardReply + Sync + Send>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]   --> src/telegram/src/bot.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]    --> src/telegram/src/worker.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     id: usize,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `thread`
[INFO] [stdout]    --> src/telegram/src/worker.rs:183:5
[INFO] [stdout]     |
[INFO] [stdout] 183 |     thread: Option<thread::JoinHandle<()>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/telegram/src/bot.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         sender.send(&m);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling webhook v0.1.0 (/opt/rustwide/workdir/src/webhook)
[INFO] [stderr]    Compiling bot v0.1.0 (/opt/rustwide/workdir/src/bot)
[INFO] [stdout] error: expected `{`, found keyword `let`
[INFO] [stdout]    --> src/bot/src/main.rs:176:25
[INFO] [stdout]     |
[INFO] [stdout] 174 |                         if user
[INFO] [stdout]     |                         -- this `if` expression has a condition, but no block
[INFO] [stdout] 175 |                         // TODO: get user localization preferences
[INFO] [stdout] 176 |                         let mut lz_bundle = FluentBundle::new(&["en-US"]);
[INFO] [stdout]     |                         ^^^-----------------------------------------------
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         expected `{`
[INFO] [stdout]     |                         help: try placing this code inside a block: `{ let mut lz_bundle = FluentBundle::new(&["en-US"]); }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `Some`
[INFO] [stdout]   --> src/bot/src/db.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 |         }
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 65 | 
[INFO] [stdout] 66 |         Some(user)
[INFO] [stdout]    |         ---- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `User` is defined multiple times
[INFO] [stdout]   --> src/bot/src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | use telegram::objects::{User, UpdateKind};
[INFO] [stdout]    |                         ---- previous import of the type `User` here
[INFO] [stdout] ...
[INFO] [stdout] 23 | use db::{User, Lounge, Db};
[INFO] [stdout]    |          ^^^^ `User` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 23 | use db::{User as OtherUser, Lounge, Db};
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bot`, `DefaultHandler`
[INFO] [stdout]   --> src/bot/src/main.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | use telegram::bot::{Bot, BotBuilder, DefaultHandler};
[INFO] [stdout]    |                     ^^^              ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Button`, `KeyboardReply`, `Keyboard`, `Reply`
[INFO] [stdout]   --> src/bot/src/main.rs:19:38
[INFO] [stdout]    |
[INFO] [stdout] 19 | use telegram::dialog::{Dialog, Card, Reply, Keyboard, Button, KeyboardReply};
[INFO] [stdout]    |                                      ^^^^^  ^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Lounge`, `User`
[INFO] [stdout]   --> src/bot/src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | use db::{User, Lounge, Db};
[INFO] [stdout]    |          ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/webhook/src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bot/src/main.rs:171:42
[INFO] [stdout]     |
[INFO] [stdout] 171 |                         let db = Db::new(bot_data.db_url);
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          expected `&str`, found struct `std::string::String`
[INFO] [stdout]     |                                          help: consider borrowing here: `&bot_data.db_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/bot/src/main.rs:172:39
[INFO] [stdout]     |
[INFO] [stdout] 172 |                         let user = db.get_user_or_create(msg.from.as_ref().unwrap());
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^ -------------------------- supplied 1 argument
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       expected 2 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/bot/src/db.rs:82:12
[INFO] [stdout]     |
[INFO] [stdout] 82  |     pub fn get_user_or_create(&self, tg_id: i64, username: &str) -> User {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ -----  ----------  --------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conf_file`
[INFO] [stdout]   --> src/webhook/src/main.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |     if let Ok(conf_file) = env::var("WEBHOOK_CONFIG_FILE") {
[INFO] [stdout]    |               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conf_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]    --> src/webhook/src/main.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let length: i64 = con.rpush(&queue_name, body).expect("failed to rpush update to redis");
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bot/src/db.rs:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let conn = Connection::connect(db_url, TlsMode::Prefer).expect("Failed to connect to Postgres DB!");
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^ expected enum `TlsMode`, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `TlsMode<'_>`
[INFO] [stdout]            found fn item `fn(&dyn TlsHandshake) -> TlsMode<'_> {TlsMode::<'_>::Prefer}`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let conn = Connection::connect(db_url, TlsMode::Prefer(...)).expect("Failed to connect to Postgres DB!");
[INFO] [stdout]    |                                                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bot/src/db.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &[tg_id]).expect("Failed to fetch user from DB!");
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               expected `&dyn ToSql`, found `i64`
[INFO] [stdout]    |               help: consider borrowing here: `&tg_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&dyn ToSql`
[INFO] [stdout]                    found type `i64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bot/src/db.rs:70:112
[INFO] [stdout]    |
[INFO] [stdout] 70 | ... username) VALUES ($1, $2) RETURNING id", &[tg_id, username]).expect("failed to insert user to db");
[INFO] [stdout]    |                                                ^^^^^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                expected `&dyn ToSql`, found `i64`
[INFO] [stdout]    |                                                help: consider borrowing here: `&tg_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&dyn ToSql`
[INFO] [stdout]                    found type `i64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bot/src/db.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 98 |             &[user.id(), lounge.id()]).expect("failed to query database");
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               expected `&dyn ToSql`, found `i32`
[INFO] [stdout]    |               help: consider borrowing here: `&user.id()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&dyn ToSql`
[INFO] [stdout]                    found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `id` found for reference `&Lounge` in the current scope
[INFO] [stdout]   --> src/bot/src/db.rs:98:33
[INFO] [stdout]    |
[INFO] [stdout] 98 |             &[user.id(), lounge.id()]).expect("failed to query database");
[INFO] [stdout]    |                                 ^^-- help: remove the arguments
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bot/src/db.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 104 |             &[user.id(), lounge.id()]).expect("failed to query database");
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               expected `&dyn ToSql`, found `i32`
[INFO] [stdout]     |               help: consider borrowing here: `&user.id()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&dyn ToSql`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `id` found for reference `&Lounge` in the current scope
[INFO] [stdout]    --> src/bot/src/db.rs:104:33
[INFO] [stdout]     |
[INFO] [stdout] 104 |             &[user.id(), lounge.id()]).expect("failed to query database");
[INFO] [stdout]     |                                 ^^-- help: remove the arguments
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0252, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bot`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "41bd8253f4ab3e0a1ebef8b2626ee4e319c731e8867ce21b64f59a8b9e6cabdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41bd8253f4ab3e0a1ebef8b2626ee4e319c731e8867ce21b64f59a8b9e6cabdd", kill_on_drop: false }`
[INFO] [stdout] 41bd8253f4ab3e0a1ebef8b2626ee4e319c731e8867ce21b64f59a8b9e6cabdd
